package com.li.network.lab_1;

public class HttpRequest {
    private String method;
    private String url;
    private String version;

    public HttpRequest() {
    }

    public HttpRequest(String method, String url, String version) {
        this.method = method;
        this.url = url;
        this.version = version;
    }

    public String getMethod() {
        return method;
    }

    public String getUrl() {
        return url;
    }

    public String getVersion() {
        return version;
    }

    public void setMethod(String method) {
        this.method = method;
    }

    public void setUrl(String url) {
        this.url = url;
    }

    public void setVersion(String version) {
        this.version = version;
    }

    @Override
    public String toString() {
        return "HttpRequest{" +
                "method=" + method +
                ", url=" + url +
                ", version=" + version +
                '}';
    }
}
